Clone Model

Clone Model

this will either clone or create a copy both dataset and model and create new instances of them

Provide the model ID of the Model to clone from

Also provide the Clone spec to clone a dataset with a filter and the model Or provide parameters to overwrite the current values in the model you want to clone

Request
path Parameters
id
required
string

ID of the Model to clone from

Request Body schema: application/json

Provide the Clone spec to clone a dataset with a filter and the model Or Provide parameters to overwrite the current values in the model you want to clone

Any of:

Make all properties in T optional

name
string

The models name

packageId
string

The model this model is derived from

description
string or null

description of the model default 'My model'

projectId
string

the id of the project the model belongs to

scope
string or null

Field that shows the scope in which the model exists default 'project'

Enum: "private" "project" "org" "public"
status
string or null

the current models status default ModelStatus.CREATED

Enum: "created" "pending" "training" "trained" "deployed" "failed"
tags
Array of strings or null

Tags related to the model default []

labels
Array of strings or null

Labels related to the model

object or null

The configuration that the model was created with default {}

inputType
string or null

Model Input Type default ModelInputType.IMAGE

Enum: "image" "video" "text" "audio"
outputType
string or null

Model Output Type default AnnotationType.BOX

Enum: "class" "point" "line" "box" "cube" "segment" "ellipse" "binary" "note" "polyline" "comparison" "recording" "subtitle" "item_description" "text_mark" "pose" "cube_3d" "semantic_3d" "polyline_3d" "pdf_text" "text" "ref_image" "ref_semantic_3d" "class" "point" "line" "box" "cube" "segment" "ellipse" "binary" "note" "polyline" "comparison" "recording" "subtitle" "item_description" "text_mark" "pose" "cube_3d" "semantic_3d" "polyline_3d" "pdf_text" "text" "ref_image" "ref_semantic_3d" "class" "point" "line" "box" "cube" "segment" "ellipse" "binary" "note" "polyline" "comparison" "recording" "subtitle" "item_description" "text_mark" "pose" "cube_3d" "semantic_3d" "polyline_3d" "pdf_text" "text"
datasetId
string or null

The datasets id that the model is connected to

Array of ItemArtifact (object) or LocalArtifact (object) or null

the artifacts of the model an artifact indicates where the model binaries sit

object or null
moduleName
string or null

The module name of the model

Responses
200

Ok

400

Bad Request

500

Internal Server Error

post/ml/models/{id}/clone
Request samples
application/json
{
  • "name": "string",
  • "packageId": "string",
  • "description": "string",
  • "projectId": "string",
  • "scope": "private",
  • "status": "created",
  • "tags": [
    ],
  • "labels": [
    ],
  • "configuration": {
    },
  • "inputType": "image",
  • "outputType": "class",
  • "datasetId": "string",
  • "artifacts": [
    ],
  • "metadata": {
    },
  • "moduleName": "string"
}
Response samples
application/json
{
  • "name": "My Model",
  • "description": "My Model Description",
  • "packageId": "packageId",
  • "projectId": "projectId"
}